package cn.kpi.dao.attendance;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.attendance.AttRoutineEntity;

@MyBatisDao
public interface AttRoutineDao {
	public List<AttRoutineEntity> GetAttRoutineListByWhere(@Param("where") String where) throws Exception;

	public int GetAttRoutineListCountByWhere(@Param("where") String where) throws Exception;

	public int InsertAttRoutine(AttRoutineEntity entity) throws Exception;

	public int UpdateAttRoutine(AttRoutineEntity entity) throws Exception;

	public int DeteleAttRoutine(@Param("routineid") Long routineid) throws Exception;
	public AttRoutineEntity GetAttRoutineListById(@Param("routineid") Long routineid) throws Exception;
}
